package com.wulis.config.swagger;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author WuliBao
 */
@Data
@Component
@ConfigurationProperties(prefix = "openapi.info")
public class OpenApiInfoProperties {
    private String title;
    private String description;
    private String version;
    private Contact contact;

    @Data
    public static class Contact {
        private String name;
        private String email;
    }
}
